<template>
    <span>{{beian}}</span>
</template>

<script>
  export default {
    name: 'index',
    data () {
      let beian = 'localhost'
      return {beian}
    },
    created () {
      let url = window.location.href
      let pos = url.indexOf('x-link.cc')
      if (pos !== -1) {
        this.data.beian = '新ICP备17002334号-2'
      }
      let pos2 = url.indexOf('xliance.com')
      if (pos2 !== -1) {
        this.data.beian = '新ICP备17002334号-1'
      }
    }
  }
</script>

<style scoped>

</style>
